﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp8
{
    class LuoFei:Hero
    {
        private string character;
        public LuoFei()
        {
        }
        public LuoFei(string nikename, string heroname, string heroinfo, int attack, int defend, int speed) : base(nikename, heroname, heroinfo, attack, defend, speed)
        {
        }
        public LuoFei(string character)
        {
            this.character = character;
        }
        public void Hello()
        {
            base.Hello();
            Console.WriteLine("性格：{0}",this.character);
        }
        public void NLJL()
        {
            Console.WriteLine("能量精灵");
        }
        public void AYCS()
        {
            Console.WriteLine("暗影传送");
        }
        public void SKBL()
        {
            Console.WriteLine("时空迸裂");
        }
        public string Character
        {
            get { return character; }
            set { this.character = value; }
        }
    }
}
